package cn.openea.perpartner.componet.web.entity.dto.sms;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * @author Weird077
 * @description TODO
 * @date 2023-05-25 11:08
 */
@Data
public class BatchDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发送者")
    private String userId;
    @NotBlank
    @ApiModelProperty(value = "模板编号")
    private String templateCode;
    @NotBlank
    @ApiModelProperty(value = "模板参数")
    private String templateParam;
    @ApiModelProperty(value = "发送参数")
    private List<SendTo> sendParam;

}
